package com.weixing.mall.provider.model.dto.ads;

import com.weixing.mall.base.enums.IsEnableEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @ClassName MediaLableDto
 * @Description TODO <br/>
 * @Author gjq
 * @Modified By:
 * @Date 2019/8/15
 * @Version 1.0
 **/
@Data
@ApiModel(description = "媒体标签")
public class MediaLableDto {

    @ApiModelProperty(value = "id")
    private Long id;

    @ApiModelProperty(value = "标签名称")
    @NotNull(message = "标签名称不能为空")
    private String labelName;

    @ApiModelProperty(value = "排序")
    @NotNull(message = "排序不能为空")
    private Integer orderBy;

    @ApiModelProperty(value = "描述")
    private String desp;

    @ApiModelProperty(value = "可被预约人数")
    @NotNull(message = "可被预约人数不能为空")
    private Integer orderLimit;

    @ApiModelProperty(value = "是否可用")
    @NotNull(message = "是否可用不能为空")
    private IsEnableEnum isEnable;
}
